﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for ConStr
/// </summary>
public class ConnectionInfo
{
    private string _host;
    public string HostAddress
    {
        get { return _host; }
        set { _host = value; }
    }
    
    private string _user;
    public string UserName
    {
        get { return _user; }
        set { _user = value; }
    }
    
    private string _pw;
    public string PassWord
    {
        get { return _pw; }
        set { _pw = value; }
    }
    
    private string _db;
    public string Database
    {
        get { return _db; }
        set { _db = value; }
    }
    
	/// <summary>
	/// Store DB connection info
	/// </summary>
	/// <param name="host"></param>
	/// <param name="user"></param>
	/// <param name="pw"></param>
	/// <param name="db"></param>
    public ConnectionInfo(string host, string user, string pw, string db)
	{
        _host = host;
        _user = user;
        _pw = pw;
        _db = db;
	}
}
